* {
  margin: 0;
  padding: 0;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  text-align: center;
  padding-top: 30px;
}

img {
  vertical-align: bottom;
}

.mask::before {
  content: '';
  position: absolute;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.start {
  position: absolute;
  bottom: 130px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 130px;
  height: 30px;
  /* background-color: deeppink;
  color: #fff; */
  line-height: 30px;
  text-align: center;
  font-size: 32px;
  font-family: '楷体';
  font-weight: 700;
  cursor: pointer;
}

.start:hover {
  color: deeppink;
}

.title {
  margin-top: 10px;
  color: deeppink;
}

.storeBox {
  position: absolute;
  top: 50px;
  left: 100px;

  font-size: 20px;
  color: deeppink;
}


body {
  background-color: #444;
  overflow: hidden;
}

.startBox {
  position: relative;
  width: 700px;
  margin: auto;
  margin-top: 100px;
}

.startBox img {
  width: 700px;
}

.box {
  display: none;
  position: relative;
  width: 1155px;
  margin: auto;
  height: 232px;
  border: 2px solid #000;
  margin-top: 150px;
  transform: scale(1.3);
}

.end {
  float: left;
  margin-left: -1px;
  width: 475px;
  height: 232px;
  background: url(../images/map_end.jpg);
}

.normal {
  position: relative;
  float: left;
  width: 680px;
  height: 232px;
  background: url(../images/map_normal.jpg);
}

.active-block {
  position: absolute;
  left: 0;
  bottom: 32px;
  width: 100%;
  height: 150px;
}

.player {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 25px;
  transition: all 0.1s;
  z-index: 99;
  background: url(../images/stand_small_right.png);
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
}

@keyframes fly {
  30% {
    bottom: 300px;
  }

  70% {
    left: 980px;
  }

  100% {

    left: 980px;
    bottom: 0;
  }
}

@keyframes bottomTo0 {
  100% {
    bottom: 0;
  }
}

.big {
  transition: height 1s;
  width: 28px !important;
  height: 40px !important;
}

.player .store {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  bottom: 20px;
  font-size: 13px;
  color: transparent;
  animation: addStore 0.8s;
}

@keyframes gameOver {
  20% {
    bottom: 30px
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    bottom: -200px;
  }
}

@keyframes addStore {
  100% {
    color: deeppink;
    bottom: 40px;
    font-size: 15px;
  }
}

@keyframes playerDie {
  15% {
    bottom: 20px;
  }

  100% {
    bottom: -1000px;
  }
}

@keyframes small {
  40% {
    bottom: 56px;
  }

  60% {
    bottom: 56px;

  }

  100% {
    bottom: 0;
  }
}

@keyframes big {
  40% {
    bottom: 86px;
  }

  60% {
    bottom: 86px;

  }

  100% {
    bottom: 0;
  }
}

.query {
  height: 24px;
}

.queryBox {
  position: absolute;
  bottom: 70px;
  width: 72px;
  height: 24px;
  left: 100px;
}

.pipe {
  position: absolute;
  bottom: 0px;
}

.pipe1 {

  left: 280px;
}

.pipe2 {

  left: 580px;
}

.pipe3 {
  left: 695px;
  width: 65px;
}

.flowerBox {
  position: absolute;
  top: -23px;
  left: 15px;
  transform: translate(-50%, 0);
  width: 16px;
  height: 23px;
  overflow: hidden;
}

.flower {
  position: absolute;
  top: 23px;
  width: 16px;
  height: 23px;
  background: url(../images/flower_1.png);
  animation: flowerChange 0.5s steps(1) infinite;
}

@keyframes flowerChange {
  50% {
    background: url(../images/flower_2.png);
  }
}

.pipe3 img {
  opacity: 0;
}

.enemyBox {
  position: absolute;
  bottom: 0;
  left: 314px;
  width: 264px;
  height: 28px;
}

.enemy2 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  transition: all 0.1s;
  height: 28px;
  background: url(../images/enemy_right_2_1.png) no-repeat;
  background-size: 100% 100%;
}

.enemy3 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  transition: all 0.1s;
  height: 16px;
  background: url(../images/enemy2_die.png) no-repeat;
  background-size: 100% 100%;
  opacity: 0.8;
}

.query .item {
  float: left;
  width: 24px;
  height: 24px;
  margin-top: 0;
}

.query .enemy .en1 {
  top: -24px;
  position: absolute;
  content: '';
  display: block;
  left: 0;
  width: 24px;
  height: 24px;
  background-image: url(../images/enemy_1_1.png);
  background-repeat: no-repeat;
  background-position: 0 24px;
  background-size: 100% 100%;

  margin-left: 0;
}

.query .enemy .money {
  top: -24px;
  position: absolute;
  content: '';
  display: block;
  left: 0;
  width: 24px;
  height: 24px;
  background: url(../images/money_1.png);
  background-repeat: no-repeat;
  background-position: center 24px;
  margin-left: 0;
}

.queryBox .buff {
  position: absolute;
  bottom: 24px;
  content: '';
  display: block;
  left: 50%;
  width: 24px;
  height: 24px;
  background: url(../images/buff_1.png);
  background-repeat: no-repeat;
  background-position: center 24px;
  transform: translate(-50%, 0);
  background-size: 100% 100%;
  transition: all 0.5s;
}

.query .enemy .money-active,
.buff-active {
  animation: en1Show 0.2s linear 0.3s forwards;
}


.query .enemy .active {
  animation: en1Show 0.5s linear 0.3s forwards, en1BgChange 0.4s infinite;
}

.query .enemy .die {
  background-image: url(../images/en1_die.png) !important;
  background-size: 100% 50%;
  background-position: center bottom;
}

@keyframes en1Show {
  100% {
    background-position: center 0;

  }
}

@keyframes en1BgChange {
  50% {
    background-image: url(../images/enemy_1_2.png);

  }
}

.query img {
  width: 24px;
}

@keyframes coolAni {
  50% {
    /* transform: translate(0, -5.5px); */
    /* transform: translateY(-15px); */
    margin-top: -15px;
  }
}